package com.huangsm.book.designmodel.parallel.masterworker;

/**
 * 求和应用
 * @author huang
 * @date 2019/2/19
 */
public class PlusWorker extends Worker {
    @Override
    public Object handle(Object input) {
        Integer i=(Integer)input;
        //得到i的四次方
        return i>>2;
    }
}
